package view.userinteface;

import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JDesktopPane;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.WindowConstants;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class JInternalFrameModificarItemRodamientos extends javax.swing.JInternalFrame {
	private JTextField jTextField1;
	private JTextField txtOrigen;
	private JTextField txtCodigo;
	private JButton btnCancelar;
	private JButton btnVerificar;
	private JButton btnAceptar;
	private JLabel jLabel2;
	private JLabel jLabel3;
	private JLabel jLabel4;
	private JLabel jLabel5;
	private JTextField jTextField6;
	private JTextField jTextField5;
	private JTextField jTextField4;
	private JTextField jTextField3;
	private JTextField jTextField2;
	private JLabel jLabel1;
	private JLabel lblCodigo;
	private JLabel lblMarca;
	private JLabel lblOrigen;
	private JTextField txtMarca;
	private JLabel lblCaracteristica;

	/**
	* Auto-generated main method to display this 
	* JInternalFrame inside a new JFrame.
	*/
		
	public JInternalFrameModificarItemRodamientos() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setPreferredSize(new Dimension(400, 300));
			this.setBounds(0, 0, 400, 300);
			setVisible(true);
			getContentPane().setLayout(null);
			this.setTitle("Modificar Item Rodamientos");
			this.setSize(800, 350);
			{
				jTextField1 = new JTextField();
				getContentPane().add(jTextField1);
				jTextField1.setBounds(173, 67, 176, 21);
			}
			{
				lblCaracteristica = new JLabel();
				getContentPane().add(lblCaracteristica);
				lblCaracteristica.setText("Caracteristica: ");
				lblCaracteristica.setBounds(36, 70, 102, 14);
			}
			{
				txtOrigen = new JTextField();
				getContentPane().add(txtOrigen);
				txtOrigen.setBounds(173, 137, 176, 21);
			}
			{
				txtMarca = new JTextField();
				getContentPane().add(txtMarca);
				txtMarca.setBounds(173, 100, 176, 21);
			}
			{
				txtCodigo = new JTextField();
				getContentPane().add(txtCodigo);
				txtCodigo.setBounds(173, 34, 176, 21);
			}
			{
				lblOrigen = new JLabel();
				getContentPane().add(lblOrigen);
				lblOrigen.setText("Origen: ");
				lblOrigen.setBounds(36, 140, 102, 14);
			}
			{
				lblMarca = new JLabel();
				getContentPane().add(lblMarca);
				lblMarca.setText("Marca: ");
				lblMarca.setBounds(36, 103, 102, 14);
			}
			{
				lblCodigo = new JLabel();
				getContentPane().add(lblCodigo);
				lblCodigo.setText("Codigo: ");
				lblCodigo.setBounds(36, 37, 102, 14);
			}
			{
				btnAceptar = new JButton();
				getContentPane().add(btnAceptar, "Center");
				btnAceptar.setText("Aceptar");
				btnAceptar.setBounds(440, 221, 119, 36);
				btnAceptar.addActionListener(new ActionListener() {
					public void actionPerformed(ActionEvent evt) {
						//	ControllerPrincipal.getInstancia().altaCliente(txtCodigo.getText(), txtCondVta.getText(), txtCUIT.getText(), txtDescuentos.getText(), txtDomicilio.getText(), txtRazonSocial.getText(), txtTelefono.getText());
					}
				});
			}
			{
				btnCancelar = new JButton();
				getContentPane().add(btnCancelar);
				btnCancelar.setText("Cancelar");
				btnCancelar.setBounds(576, 221, 119, 36);
				btnCancelar.addActionListener(new ActionListener() {
					public void actionPerformed(ActionEvent evt) {
						dispose();
					}
				});
			}
			{
				btnVerificar = new JButton();
				getContentPane().add(btnVerificar);
				btnVerificar.setText("Verificar");
				btnVerificar.setBounds(119, 189, 104, 34);
			}
			{
				jLabel1 = new JLabel();
				getContentPane().add(jLabel1);
				jLabel1.setText("Codigo nuevo: ");
				jLabel1.setBounds(409, 31, 165, 14);
			}
			{
				jLabel2 = new JLabel();
				getContentPane().add(jLabel2);
				jLabel2.setText("Marca nueva: ");
				jLabel2.setBounds(409, 97, 165, 14);
			}
			{
				jLabel3 = new JLabel();
				getContentPane().add(jLabel3);
				jLabel3.setText("Origen nuevo: ");
				jLabel3.setBounds(409, 134, 165, 14);
			}
			{
				jLabel4 = new JLabel();
				getContentPane().add(jLabel4);
				jLabel4.setText("Cantidad nueva: ");
				jLabel4.setBounds(409, 176, 165, 14);
			}
			{
				jTextField2 = new JTextField();
				getContentPane().add(jTextField2);
				jTextField2.setBounds(592, 28, 176, 21);
			}
			{
				jTextField3 = new JTextField();
				getContentPane().add(jTextField3);
				jTextField3.setBounds(592, 94, 176, 21);
			}
			{
				jTextField4 = new JTextField();
				getContentPane().add(jTextField4);
				jTextField4.setBounds(592, 131, 176, 21);
			}
			{
				jTextField5 = new JTextField();
				getContentPane().add(jTextField5);
				jTextField5.setBounds(592, 173, 176, 21);
			}
			{
				jLabel5 = new JLabel();
				getContentPane().add(jLabel5);
				jLabel5.setText("Caracteristica nueva: ");
				jLabel5.setBounds(409, 64, 165, 14);
			}
			{
				jTextField6 = new JTextField();
				getContentPane().add(jTextField6);
				jTextField6.setBounds(592, 61, 176, 21);
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
